package com.ruoyi.od.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存盘点记录对象 stock_inventory_check
 * 
 * @author ruoyi
 * @date 2025-06-23
 */
public class StockInventoryCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 盘点编号 */
    @Excel(name = "盘点编号")
    private String checkId;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String goodsId;

    /** 盘点时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "盘点时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkTime;

    /** 系统记录数量 */
    @Excel(name = "系统记录数量")
    private Long systemQuantity;

    /** 实际盘点数量 */
    @Excel(name = "实际盘点数量")
    private Long actualQuantity;

    /** 差异数量 */
    @Excel(name = "差异数量")
    private Long difference;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operator;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setCheckId(String checkId) 
    {
        this.checkId = checkId;
    }

    public String getCheckId() 
    {
        return checkId;
    }

    public void setGoodsId(String goodsId) 
    {
        this.goodsId = goodsId;
    }

    public String getGoodsId() 
    {
        return goodsId;
    }

    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }

    public void setSystemQuantity(Long systemQuantity) 
    {
        this.systemQuantity = systemQuantity;
    }

    public Long getSystemQuantity() 
    {
        return systemQuantity;
    }

    public void setActualQuantity(Long actualQuantity) 
    {
        this.actualQuantity = actualQuantity;
    }

    public Long getActualQuantity() 
    {
        return actualQuantity;
    }

    public void setDifference(Long difference) 
    {
        this.difference = difference;
    }

    public Long getDifference() 
    {
        return difference;
    }

    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkId", getCheckId())
            .append("goodsId", getGoodsId())
            .append("checkTime", getCheckTime())
            .append("systemQuantity", getSystemQuantity())
            .append("actualQuantity", getActualQuantity())
            .append("difference", getDifference())
            .append("operator", getOperator())
            .append("remarks", getRemarks())
            .append("createTime", getCreateTime())
            .toString();
    }
}
